﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.Filters;

namespace XsqTech.SmartOA.Application.Auto
{
    public class PermissionAuthorizationRequirement : IAuthorizationRequirement
    {
        public PermissionAuthorizationRequirement(string phth)
        {
            Path = phth;
        }

        /// <summary>
        /// Api路径
        /// </summary>
        public string Path { get; private set; }
    }
}
